/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Business;

/**
 *
 * @author anhvtn_b00545
 */
public class Product_BS {

    private int code;
    private String name;
    private String type;
    private String productionDate;
    private String expiryDate;
    private String importDate;
    private float price;
    private float tax;
    private int quantity;
    private float sellPrice;
    private String description;

    public Product_BS() {
    }

    public Product_BS(String name,String type,String productionDate,String expiryDate,String importDate,float price,float tax,int quantity,float sellPrice,String description){
            this.name = name;
            this.type = type;
            this.productionDate = productionDate;
            this.expiryDate = expiryDate;
            this.importDate = importDate;
            this.price = price;
            this.tax = tax;
            this.quantity = quantity;
            this.sellPrice = sellPrice;
            this.description = description;
        }
    public Product_BS(int id, String name, float price) {
        this.code= id;
        this.name= name;
        this.price= price;
    }

    public Product_BS(int id, String name,String type,String exDate,int quantity, float sellPrice) {
        this.code = id;
        this.name = name;
        this.quantity = quantity;
        this.type = type;
        this.sellPrice = sellPrice;
        this.expiryDate = exDate;
    }

        public int getpCode() {
            return code;
        }

        public void setpCode(int productCode) {
            this.code = productCode;
        }

        public String getpName() {
            return name;
        }

        public void setpName(String productName) {
            this.name = productName;
        }
        public String getpType(){
            return type;
        }
        public void setpType(String type){
            this.type = type;
        }
        public String getpProductionDate(){
            return productionDate;
        }
        public void setpProductionDate(String productionDate){
            this.productionDate = productionDate;
        }
        public String getpExpiryDate(){
            return expiryDate;
        }
        public void setpExpiryDate(String expriryDate){
            this.expiryDate = expriryDate;
        }
        public String getpImportDate(){
            return importDate;
        }
        public void setpImportDate(String importDate){
            this.importDate = importDate;
        }

        public float getpPrice() {
            return price;
        }

        public void setpPrice(float price) {
            this.price = price;
        }

        public float getpTax(){
            return tax;
        }

        public void setpTax(float tax){
            this.tax = tax;
        }

        public int getpQuantity() {
            return quantity;
        }

        public void setpQuantity(int quantity) {
            this.quantity = quantity;
        }

        public float getpSellPrice(){
            return sellPrice;
        }

        public void setpSellPrice(float sellPrice){
            this.sellPrice = sellPrice;
        }

        public String getpDescription() {
            return description;
        }

        public void setpDescription(String description) {
            this.description = description;
        }
    }
